/*
 * Copyright (c) 2024-2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION!

import { int32, int64, float32 } from "@koalaui/common"
import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop"
import { NodeAttach, remember } from "@koalaui/runtime"
import { Resource } from "./ArkResourceInterfaces"
import { CustomBuilder, CommonMethod, SymbolGlyphModifier, LayoutSafeAreaType, LayoutSafeAreaEdge } from "./ArkCommonInterfaces"
import { TitleHeight } from "./ArkEnumsInterfaces"
import { Length, ResourceStr } from "./ArkUnitsInterfaces"
import { Callback_Void, Callback_Boolean, Callback_NavDestinationContext_Void } from "./SyntheticDeclarations"
import { PixelMap } from "./ArkPixelMapMaterialized"
import { NavigationMenuItem, SystemBarStyle, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions } from "./ArkNavigationInterfaces"
import { NavDestinationContext } from "./ArkNavDestinationContextMaterialized"
export interface NavDestinationCommonTitle {
    main: string | Resource;
    sub: string | Resource;
}
export interface NavDestinationCustomTitle {
    builder: CustomBuilder;
    height: TitleHeight | Length;
}
export enum NavigationSystemTransitionType {
    DEFAULT = 0,
    NONE = 1,
    TITLE = 2,
    CONTENT = 3
}
export enum NavDestinationMode {
    STANDARD = 0,
    DIALOG = 1
}
export type NavDestinationInterface = () => NavDestinationAttribute;
export interface RouteMapConfig {
    name: string;
    pageSourceFile: string;
    data: Object;
}
export interface NavDestinationAttribute extends CommonMethod<NavDestinationAttribute> {
    hideTitleBar: boolean;
    onShown: (() => void);
    onHidden: (() => void);
    onBackPressed: (() => boolean);
    mode: NavDestinationMode;
    backButtonIcon: ResourceStr | PixelMap | SymbolGlyphModifier;
    menus: Array<NavigationMenuItem> | CustomBuilder;
    onReady: ((parameter: NavDestinationContext) => void);
    onWillAppear: (() => void);
    onWillDisappear: (() => void);
    onWillShow: (() => void);
    onWillHide: (() => void);
    systemBarStyle: SystemBarStyle | undefined;
    recoverable: boolean | undefined;
    systemTransition: NavigationSystemTransitionType;

}
